package com.yichen.springcloudhomework01.entity;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;


@Component
@Data
public class Student {
    @Value("A")
    private String grade;
    @Value("${student.name}")
    private String name;
    @Value("${student.desc}")
    private String desc;
}
